
cmake_minimum_required(VERSION 3.5.0)

project(fxcc_Project)

set(CMAKE_CXX_STANDARD 17)

file(GLOB local_src *.cpp)
file(GLOB local_headers *.h)

set(BUILD_SHARED_LIBS OFF)
add_library(fxcc_graph_common ${local_headers} ${local_src})
target_link_libraries(fxcc_graph_common PRIVATE assimp sysx freetype glslang yaml-cpp)

add_library(fxcc_graph_common_left ${local_headers} ${local_src})
target_link_libraries(fxcc_graph_common_left PRIVATE assimp sysx freetype glslang yaml-cpp)
target_compile_definitions(fxcc_graph_common_left PRIVATE FXCC_USE_LEFT_HAND)

set(BUILD_SHARED_LIBS OFF)
